security.pam.services.<name>.gnupg.enable
If enabled, pam_gnupg will attempt to automatically unlock the
user's GPG keys with the login password via
gpg-agent. The keygrips of all keys to be
unlocked should be written to ~/.pam-gnupg,
and can be queried with gpg -K --with-keygrip.
Presetting passphrases must be enabled by adding
allow-preset-passphrase in
~/.gnupg/gpg-agent.conf.
- Type
boolean- Default
false- Declared
- <nixpkgs/nixos/modules/security/pam.nix>